package com.nuoniu.sibanyun.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ClassName DynamicVoucherDetailDto
 * @Description TODO
 * @Authpr baiqiang
 * @Date 2020/12/29 15:32
 **/
@Data
@ApiModel("单据动态翻页查询DTO")
public class DynamicVoucherDetailDto {

    @ApiModelProperty("单据类型")
    private String source ;
    @ApiModelProperty("当前页面ID")
    private Integer currentId ;
    @ApiModelProperty("当前动作 1:上一页 2：下一页 3：首页 4：尾页")
    private Integer actionType;

    @ApiModelProperty(value = "指定的 业务类型 ")
    private String someBusinessType;

    @ApiModelProperty(value = "是否只查询自己管理的仓库数据，或者自己创建的数据")
    private boolean isMyWarehouse = false;

    @ApiModelProperty(value = "单据状态集合")
    private List<Integer> voucherStateList;

    @ApiModelProperty(value = "开始单据状态")
    private Integer startVoucherState ;

    @ApiModelProperty(value = "结束单据状态")
    private Integer endVoucherState ;

    @ApiModelProperty(value = "数据来源：单据唯一标识 ")
    private String dataSource;

    @ApiModelProperty(value = "期初标志")
    private Integer beginStartFlag;
}
